-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds claim api for vg #4708
Adds claim api for vg #4708
Conversation
c32b001
to
60282bb
Compare
df535d3
to
60cbbf9
Compare
0055df7
to
e5afc73
Compare
vendor/bat-native-ledger/src/bat/ledger/internal/database/database_unblinded_token.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ledger/src/bat/ledger/internal/promotion/promotion_transfer.cc
Outdated
Show resolved
Hide resolved
vendor/bat-native-ledger/src/bat/ledger/internal/uphold/uphold_wallet.cc
Show resolved
Hide resolved
vendor/bat-native-ledger/src/bat/ledger/internal/promotion/promotion_util.cc
Outdated
Show resolved
Hide resolved
|
||
base::Value token(base::Value::Type::DICTIONARY); | ||
bool success = false; | ||
if (ledger::is_testing) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this logic is also in contribution_util.cc
, I wonder if there might be a way to make this a single call, either by passing in ledger::is_testing
or something similar.
c67f120
to
ba3a76c
Compare
everything passed except iOS, restarting iOS |
CI failed on unrelated changes (audit-depos) |
Verified using
Verified the two test plans from the above description and 3 other scenarios. All are detailed below with steps. PASS - Test plan 1 from PR description - #4708:
PASS Test plan 2 from PR description - #4708:
reconnecting and ad grant is transferred to uphold: PASS New User Scenario
PASS - Upgrade test 1 (partially spend ad grant)
PASS - Upgrade test 2 (no spending of ad grant)
|
Resolves brave/brave-browser#8354
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
Plan 1:
Plan 1:
Reviewer Checklist:
After-merge Checklist:
changes has landed on.